package com.nervenets.web.controller.handler.user.news;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.PagingParams;
import com.nervenets.web.enumeration.NewsType;
import com.nervenets.web.validation.Type;
import lombok.Data;

@Data
public class NewsListParams extends PagingParams {
    @NeedValidation(type = Type.NOTEMPTY, description = "资讯类型")
    private NewsType newsType;
}
